package com.pack.bean;

import com.pack.BaseUtil.DataEntity;

public class User extends DataEntity<User> {

    private String id;
    private String name;
    private String password;
    private Integer age;
    private Integer roleId;

    //
    private String permissionName;  //权限信息
    private String roleName;   //角色信息
    
    

    public User() {
    }

    public User(String id, String name, String password, Integer age, Integer roleId) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.age = age;
        this.roleId = roleId;
    }
    public User(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getPassword() {
        return password;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
}